﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CacheAOP_Castle.AOPCache
{
    [AttributeUsage(AttributeTargets.Method, Inherited = true)]
    public class RedisCacheAttribute : Attribute
    {
        /// <summary>
        /// 过期时间，单位秒
        /// </summary>
        public int Expiration { get; set; }
        /// <summary>
        /// 缓存key
        /// </summary>
        public string CacheKey { get; set; }
    }
}
